<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="../../static/css/main.css">
    <script type="text/javascript" src="../../static/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="../../static/js/login.js"></script>

    <title>hy的web</title>
</head>
<body>
<header>
    <!--头部-->
    <div class="box">
        <img src="../../static/img/logo.png" class="logo">
        <!--导航栏-->
        <div class="right bar">
            <!--选项-->
            <a href="{{ url_for('index_blu.index') }}" class="home_b"><img src="../../static/img/home.png"></a>
            <a href="{{ url_for('user_blu.user') }}" class="ava_b"><img src="{{ava}}"></a>
        </div>
    </div>
</header>
<div class="form_login">
    <img src="../../static/img/cats.png">
    <form class="login_form">
        <input type="text" id="telephone" name="telephone" placeholder="请输入手机号">
        <input type="password" id="password" name="password" placeholder="请输入密码">
        <input type="submit" value="登录">
        <a href="#" class="to_register">立即注册</a>
    </form>

    <form class="register_form" style="display: none">
        <input type="text" id="telephone_r" name="telephone" placeholder="请输入手机号">
        <input type="password" id="password1_r" name="pwd1" placeholder="请输入密码">
        <input type="password" id="password2_r"name="pwd2" placeholder="请确认密码">
        <input type="text" id="auth_code_r" placeholder="验证码" class="code_pwd">
        <img src="../../static/img/pic_code.png" class="get_pic_code" onclick="get_auth_code()">
        <input type="submit" value="注册">
        <a href="#" class="to_login">立即登录</a>
    </form>
</div>
</body>
</html>